using System;
using System.Collections.Generic;
using System.Linq;
namespace TemplateWeb.Controllers
{
	#region using
	using TemplateWeb.Helpers;
	#endregion
	public enum EnumViewModel
	{
		ADMIN_DETAILOF_NGUOIDUNG,
		ADMIN_DETAILOF_THONGTINCONGTY,
		ADMIN_DETAILOF_TINTUC,
		ADMIN_DETAILOF_SACH,
		ADMIN_DETAILOF_PHANHOI,
		ADMIN_DETAILOF_HOPTHU,
		ADMIN_DETAILOF_GOCCHIASE,
		ADMIN_DETAILOF_DOITAC,
		ADMIN_NGUOIDUNG,
		ADMIN_THONGTINCONGTY,
		ADMIN_TINTUC,
		ADMIN_SACH,
		ADMIN_PHANHOI,
		ADMIN_LOAITINTUC,
		ADMIN_LOAISACH,
		ADMIN_HOPTHU,
		ADMIN_GOCCHIASE,
		ADMIN_DOITAC,
		ADMIN_DANHGIA,
        ADMIN_REVENUE,
        ADMIN_ORDERS_REVENUE_EXECUTE,
        ADMIN_ORDERS,
        ADMIN_ORDERDETAIL,
        ADMIN_ORDERDETAIL_EDIT,
        ADMIN_TIMKIEMDONHANG,
        ADMIN_TIMKIEMDONHANG_SELECT,
        ADMIN_TIMKIEMDONHANG_EXECUTE,
        ADMIN_TIMKIEMORDERDETAIL,

		HOME_REGISTER,
		HOME_DETAILOF_NGUOIDUNG,
        HOME_INDEX,
        HOME_CHITIETSACH,
        HOME_CHITIETTINTUC,
        HOME_CHITIETGOCCHIASE,
        HOME_SACH,
        HOME_TINTUC,
        HOME_GOCCHIASE,
        HOME_DOITAC,
        HOME_CHITIETDOITAC,
        HOME_THEMCHIASE,
        HOME_ORDER,
        HOME_ORDERHISTORY,
        HOME_ORDERHISTORY_ORDERDETAIL,
        HOME_TIMKIEM
	}

	public class DataTransferViewModel
	{
		public int CurrentPage { get; set; }
		public EnumViewModel EnumViewModelType { get; set; }
		public string StrID { get; set; }
		public int IntID { get; set; }
		public Guid GuidID { get; set; }
		public string UserName { get; set; }
		public string Role { get; set; }
		public string InfoText { get; set; }
		public Guid ID { get; set; }
		public int IDLoaiTinTuc { get; set; }
		public int IDLoaiSach { get; set; }
		public int IDHopThu { get; set; }
		public int IDSach { get; set; }
        public int IDDonDatHang { get; set; }
        public DateTime From { get; set; }
        public DateTime To { get; set; }
        public string TimKiem_TenSach { get; set; }
        public string TimKiem_TenTacGia { get; set; }
        public string TimKiem_DonDatHang_IDKhachHang { get; set; }
        public string TimKiem_DonDatHang_DaXacNhan { get; set; }
        public string TimKiem_DonDatHang_DaGiaoHang { get; set; }
        public string TimKiem_DonDatHang_DaHuy { get; set; }
        public string TimKiem_DonDatHang_KhuVuc { get; set; }


		public DataTransferViewModel()
		{
			CurrentPage = 1;
			ID = Guid.Parse("11112222-1111-1111-1111-111122223333");
            TimKiem_DonDatHang_IDKhachHang = string.Empty;
			IDLoaiTinTuc = -1;
			IDLoaiSach = -1;
			IDHopThu = -1;
			IDSach = -1;
            IDDonDatHang = -1;
            From = DateTime.MinValue;
            To = DateTime.MinValue;
		}
	}
}